Learning Objectives

After completing this lesson, you will be able to:

Note

Continuous Data Processing with Streams is a live online course. Safe Software provides a simulated data stream that we use in live training to connect and process data from. When live training is not taking place, we disable the simulated data stream. Therefore, if you aim to complete the lessons and exercises in a self-serve or on-demand format, you will not receive any input data through the stream in these exercises. If you would like to simulate the source data stream yourself, follow the steps in the Introduction to Stream Processing in FME tutorial. 

Note

This course uses some new terminology to FME, such as interchanging "feature" for "record" when referring to data in FME. For more information on recent changes to FME and terminology surrounding FME, please see FME 2025.2 Update Notes. 

Stream Processing

Stream processing refers to collecting, integrating, and analyzing unbounded data. It allows organizations to deliver real-time insights across massive datasets continuously. Typically, you use stream processing in the context of big data, with low latency and massive throughput being key requirements for any solution. 

Unbounded data—also called a data stream—is infinite, has no discrete beginning or end, and is associated with stream processing. As well as being continuous, unbounded data typically has the following attributes:

Bounded data is finite, has a discrete beginning and end, and is associated with batch processing. You typically store the data first, then process it in bulk, creating a delay between receiving the data and running an analysis.

Stream processing flips this scenario: you process and analyze data before storing it. Stream processing architectures can integrate and analyze large, continuous data streams in near real-time. Organizations adopting these technologies gain a significant competitive advantage by reducing the time between capturing data and delivering actionable information to decision-makers.

What are Streams?  

Processing continuous data challenges many organizations. You can perform stream processing with the FME Platform, specifically using Streams on FME Flow to continuously run a streaming workspace that you create in FME Workbench. In this course, we will cover streaming data sources, building a streaming workspace in FME Workbench, and deploying your stream on FME Flow. 

Using FME Flow Streams to process your continuous, unbounded data allows you to:

FME Flow Streams continuously run an FME workspace that connects to live data streams, receives the data, and processes it before storing it in a more permanent location. Streaming workspaces require a Connector transformer that runs in Stream mode to connect to the data stream and process data immediately as it is received. Next, streaming workspaces often filter data by attributes, group data into time windows for analysis, or spatially analyze data by location, then write the data to specified locations in any supported format or issue alerts based on the streaming data. 

Customer Stories

SAIL Amsterdam 2025

During SAIL Amsterdam—an event attracting 2.5 million visitors—Safe Software partner Avineon Tensing helped the Amsterdam-Amstelland Security Region (VRAA) create a real-time digital twin to enhance crowd safety and emergency response. SAIL involves a large, complex, and dynamic environment, characterized by crowded streets, congested waterways, emergencies, and heat-related risks. Real-time data visibility was essential. However, the data came from multiple sources with varying formats and coordinate systems, making integration challenging.

With FME, they could process multiple real-time streams from Kafka and integrate all their data sources, including static data and 16 real-time streams. They also leveraged CPU Usage engines to scale real-time processing, assigning each Kafka stream to a dedicated engine to reduce lag and increase throughput. The entire setup processes the data using FME Flow and then connects to KPN's Data Services Hub, a real-time data platform that visualizes the data as a digital twin. The digital twin output provided a shared, real-time view across land, sea, and water, enabling real-time identification of overcrowding, traffic jams, emergency incidents, and other risks. For emergency services to act on information-driven insights, the data had to be easily accessible. They utilized FME to convert real-time data into WebSocket data, enabling emergency services to access the required information with a clear visual display.  

Reflection Questions

As you learn about streams in this course, take some time to think about how your organization may implement and take advantage of FME Flow Streams. Here are a few questions to start:

Note

Check out FME Customer Stories for more information on these use-cases and explore more stories from thousands of FME customers. 
We are also looking for more customer stories on FME Flow Streams. If you process real-time data with Streams already or successfully implement one after this course, please reach out to us, either though train@safe.com or directly to your account manager, as we would love to feature your organization. 

Streams or Automations?

If you are familiar with the FME Platform, you are likely familiar with FME Flow Automations. Like streams, automations process FME workspaces in real time to respond to events. So, what are some differences between streams and automations? And when should you use a Stream or an Automation to process your data? 

Automations are excellent for processing real-time events but not well suited for processing a continuous, unbounded data stream. Automations typically run workspace translations for each event. Stream data arrives at very high velocity, typically with multiple records per second, causing automations to trigger multiple jobs per second. Submitting numerous job requests to the FME Flow Engines per second would cause overload and delays. Generally, automations can process data at a rate of up to one record or event per second, and an engine will only run when an event occurs to trigger a translation. While no events are happening, automations do not use or occupy any engines. 

Streams run a workspace continuously to process unbounded data immediately. Because streams run a workspace continuously—even when no data is coming through—they occupy an FME Flow Engine at all times, preventing it from running other jobs. Therefore, streams offer a significant trade-off between processing capability and engine usage compared to sutomations. Whether you should use streams or automations depends on your data source and how often you need to process records. 

Note

For FME training on FME Flow Automations, check out Automate Workflows with FME Flow.